package unit4;

public class Ex4_14_MFUN {
    public static void main(String[] args) {
        float a = 3, b = 4;
        System.out.println("exp(a)=" + Math.exp(a));
        System.out.println("log(a)=" + Math.log(a));
        System.out.println("sqr(a)=" + Math.sqrt(a));
        System.out.println("abs(-a*b)=" + Math.abs(-a * b));
        System.out.println("3*3*3*3=" + Math.pow(a, b));
        System.out.println("max(a,b)=" + Math.max(a, b)); //取a,b的较大值
    }
}
